package com.binance.assetservice.vo.request.product;

import java.math.BigDecimal;
import java.util.Date;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotEmpty;
import org.springframework.format.annotation.DateTimeFormat;

import com.binance.master.commons.ToString;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@ApiModel
@Setter
@Getter
public class PriceConvertRequest extends ToString {

    /**
     * 
     */
    private static final long serialVersionUID = 5509231845996686562L;

    @ApiModelProperty(required = true)
    @NotEmpty
    private String from;
    @ApiModelProperty(required = true)
    @NotEmpty
    private String to;
    @ApiModelProperty(required = true)
    @NotNull
    private BigDecimal amount;
    @ApiModelProperty
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date date;

}
